<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<script>
	window.onload = function() {
		tpSet('tpeg', 'tabs', 'tp1', 'tp2');
	}
</script>

<table width="100%">
	<tr>
		<td width="100%">
			<fieldset>
				<legend>
					<strong>Manage Attendance</strong>
				</legend>
				<table width="100%">
					<tbody>
						<tr>
							<td>
								&nbsp;
							</td>
							<td width="100%">
								<br />
								<div id="tpeg">
									<h4>
										Menu
									</h4>
									<ul>
										<li>
											<a href="#tp1">Link to panel one</a>
										</li>
										<li>
											<a href="#tp2">Link to panel two</a>
										</li>
									</ul>
								</div>
								<div id="tp1" title="Courses-UG">
									<form action="" method="post">
										<table>
											<tr>
												<td colspan="2">
													<table>
														<tr>
															<td>
																Department
															</td>
															<td>
																<select style="width: 150px;">
																	<option>
																		Please select department
																	</option>
																	<option>
																		Ram Kumar
																	</option>
																	<option>
																		Venkat
																	</option>
																</select>													
															</td>															
															<td>
																Batch Year
															</td>
															<td>
																<select style="width: 150px;">
																	<option>
																		Please select batch
																	</option>
																	<option>
																		1st year
																	</option>
																	<option>
																		2rd year
																	</option>
																</select>													
															</td>
															<td>
																Class/Sections
															</td>
															<td>
																<select style="width: 150px;">
																	<option>
																		Please select batch
																	</option>
																	<option>
																		1st year
																	</option>
																	<option>
																		2rd year
																	</option>
																</select>													
															</td>
															<td>
																Attendance Date
															</td>
															<td>
																<input type="text" />													
															</td>
															<td>
																<input value="Get >>" type="submit">
															</td>
														</tr>
													</table>
												</td>
											</tr>											
											<tr>
												<td colspan="2">
													<br/>
													<table class="table-list">
														<thead>
															<tr class="header2">
																<th width="50">
																	#
																</th>
																<th width="200">
																	Registration Number
																</th>
																<th width="300">
																	Student Name
																</th>						
																<th width="50">
																	Attendance
																</th>
															</tr>
														</thead>
														<tbody>
															<c:forEach var="department" varStatus="index" begin="1"
																end="5" step="1">
																<tr>
																	<td width="50">
																		${index.count}
																	</td>
																	<td width="200">
																		STU007
																	</td>
																	<td width="300">
																		Ram Kumar
																	</td>
																	<td width="50">
																		<input type="checkbox">
																	</td>																	
																</tr>
															</c:forEach>
														</tbody>
														<tfoot>
															<tr>
																<td colspan="5" align="center">
																	<input value="Save" class="button" type="submit">
																</td>
															</tr>
														</tfoot>
													</table>
												</td>
											</tr>
										</table>
									</form>
								</div>
								<div id="tp2" title="Courses-PG">
									<form action="" method="post">
										<table>
											<tr>
												<td colspan="2">
													<table>
														<tr>
															<td>
																Department
															</td>
															<td>
																<select style="width: 150px;">
																	<option>
																		Please select department
																	</option>
																	<option>
																		Ram Kumar
																	</option>
																	<option>
																		Venkat
																	</option>
																</select>													
															</td>															
															<td>
																Batch Year
															</td>
															<td>
																<select style="width: 150px;">
																	<option>
																		Please select batch
																	</option>
																	<option>
																		1st year
																	</option>
																	<option>
																		2rd year
																	</option>
																</select>													
															</td>
															<td>
																Class/Sections
															</td>
															<td>
																<select style="width: 150px;">
																	<option>
																		Please select batch
																	</option>
																	<option>
																		1st year
																	</option>
																	<option>
																		2rd year
																	</option>
																</select>													
															</td>
															<td>
																Attendance Date
															</td>
															<td>
																<input type="text" />													
															</td>
															<td>
																<input value="Get >>" type="submit">
															</td>
														</tr>
													</table>
												</td>
											</tr>											
											<tr>
												<td colspan="2">
													<br/>
													<table class="table-list">
														<thead>
															<tr class="header2">
																<th width="50">
																	#
																</th>
																<th width="200">
																	Registration Number
																</th>
																<th width="300">
																	Student Name
																</th>						
																<th width="50">
																	Attendance
																</th>
															</tr>
														</thead>
														<tbody>
															<c:forEach var="department" varStatus="index" begin="1"
																end="5" step="1">
																<tr>
																	<td width="50">
																		${index.count}
																	</td>
																	<td width="200">
																		STU007
																	</td>
																	<td width="300">
																		Ram Kumar
																	</td>
																	<td width="50">
																		<input type="checkbox">
																	</td>																	
																</tr>
															</c:forEach>
														</tbody>
														<tfoot>
															<tr>
																<td colspan="5" align="center">
																	<input value="Save" class="button" type="submit">
																</td>
															</tr>
														</tfoot>
													</table>
												</td>
											</tr>
										</table>
									</form>
								</div>
							</td>
						</tr>
					</tbody>
				</table>
			</fieldset>
		</td>
	</tr>
</table>